package ru.xeden.web.controller.impl;

import java.util.List;

import ru.xeden.core.common.ObjectRegistr;
import ru.xeden.web.controller.IController;
import ru.xeden.web.controller.IControllerRegisterService;

public class ControllerRegisterServiceImpl
    extends ObjectRegistr<IController>
    implements IControllerRegisterService
{

    
    public ControllerRegisterServiceImpl()
    {
    }

    @Override
    public void registerController(IController controller)
    {
        register(controller);
    }

    @Override
    public void unregisterController(IController controller)
    {
        unregister(controller);
    }
    
    
    @Override
    public List<IController> getControllers()
    {
        return super.getRegisteredObjects();
    }
    
}
